package com.demo.springcloud.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.demo.springcloud.entity.Payment;
import com.demo.springcloud.mapper.PaymentMapper;
import com.demo.springcloud.service.IPaymentService;
import org.springframework.stereotype.Service;


/**
 * @author hxg
 * @version 1.0
 * @date 2021/12/23 18:06
 */
@Service
public class PaymentServiceImpl extends ServiceImpl<PaymentMapper, Payment> implements  IPaymentService{

    @Override
    public Payment getOrder(Long id) {
        return baseMapper.selectById(id);
    }
}
